home *** CD-ROM | disk | FTP | other *** search
GW-BASIC | 1996-05-12 | 823 b | 24 lines |
- 5 CLEAR,32768:KEY OFF:CLS
- 10 'SYSTEM CONFIGURATION
- 20 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- 30 P=1 'P=0 manual path selection---P=1 prestored path selection
- 40 PA$="c:\gif\" 'default path for the gif files
- 50 '--------------------------------------------------------
- 55 KEY 10,"SYSTEM"+CHR$(13):KEY 5,"LIST "+CHR$(13):KEY 4,"SAVE "+CHR$(34)+"PICKFILE"
- 60 DEF SEG=&H4F00
- 70 BLOAD"pickfile.asm",&H100
- 75 IF P=1 THEN GIF$=PA$:GOTO 100
- 80 PRINT:PRINT:PRINT:INPUT" What PATH for the Files (Default=PA$)";GIF$
- 90 IF GIF$="" THEN GIF$=PA$
- 100 CLS:FILES GIF$+"*.*"
- 110 PRINT" MOVE CURSOR TO FILE"
- 120 K=&H100:CALL K
- 130 FOR Y=&H190 TO &H19C
- 140 Z=PEEK(Y)
- 150 IF Z=46 OR Z=32 THEN GOTO 180
- 160 Z$=CHR$(Z)
- 170 PIX$=PIX$+Z$:NEXT Y
- 180 SHELL "tgif "+GIF$+PIX$+".gif"
- 190 SYSTEM
- 200 'SAVE as "PICKFILE after modifying
-